package oop.controller.action.user;

import oop.controller.action.DefaultAction;

public class LogOutAction extends DefaultAction {

	@Override
	public void perform()
			throws Exception {

		request.getSession().removeAttribute("username");
		request.getSession(true)
				.setAttribute("login", false);
		setNextAction("homepage");
	}

}
